<!--
 * <p>Title:                 CountryCodeReport  </p>
 * <p>Copyright:             Copyright (c)HTIT 2003</p>
 * <p>Company:               HTIT  </p>
 * @author                   Eric Chen
 * @version                  1.0
 * @date                     2003-08-28
 *-->

<html>

<%@ page import="cms.report.countrycode.*" %>
<%@ page import="cms.code.countrycode.*" %>

<%
     response.setContentType("application/vnd.ms-excel");
     response.setHeader("Content-Disposition", "attachment; filename="+"CountryCode.xls");
%>
<body>

<%   
	 CountryCodeBean[] CountryCodes =  (CountryCodeBean[])request.getAttribute("CountryCodes");
     if (CountryCodes==null)
        CountryCodes = new CountryCode[0];  
%>
<center>
<body >
<h2>Country Code Report Maintenance</h2>
<p>&nbsp</p>
<p>&nbsp</p>
<table cols=4 border=1>
<thead>
  <td><b>Country Code</b></td>
  <td><b>Country Name</b></td>
  <td><b>Create Date</b></td>
  <td><b>Create By</b></td>
  <td><b>Update Date</b></td>
  <td><b>Update By</b></td>
</thead>
<%  for (int i=0; i<CountryCodes.length; i++)
    {   %>
<tr>
	<td><%=CountryCodes[i].getCountry_code()%></td>  	
	<td><%=CountryCodes[i].getCountry_name()%></td>
	<td><%=CountryCodes[i].getCreate_date()%></td>
	<td><%=CountryCodes[i].getCreate_by()%></td>
	<td><%=CountryCodes[i].getUpd_date()%></td>
	<td><%=CountryCodes[i].getUpd_by()%></td>
</tr>
<%  } %>
</table>
</body>
</center>
<%@ include file="/footer.jsp" %>
</body>
</html>

